package com.example.service;

import com.example.model.pojo.Discussion;
import org.springframework.data.domain.Page;

public interface IDiscussService {
     Page<Discussion> loadAll(Integer pageNum, Integer pageSize);
     Page<Discussion> loadHotDiscussService(Integer pageNum, Integer pageSize);
     Page<Discussion> loadNewDiscussService(Integer pageNum, Integer pageSize);
     int getDiscussSize();
}
